/* eslint-disable import/prefer-default-export */
import request from '@/utils/request';

// 工资查看  查看详情
export async function getDetailData(params) {
  return request(`/nsApi/wageOffl/getById`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 工资维护  标记问题人员
export async function getproselectedList(params) {
  return request(`/nsApi/recvAdd/probObjs/list`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 工资发放 - 查看详情
export async function getSendDetailData(params) {
  return request(`/nsApi/wagePay/getById`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 标记问题人员
export async function signPro(params) {
  return request(`/nsApi/wagePay/tabProb`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 问题人员- 查看详情
export async function getProDetail(params) {
  return request(`/nsApi/wageProb/getPayProb`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 反馈
export async function getFeedback(params) {
  return request(`/nsApi/wageProb/submitPayProb`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 反馈并取消
export async function getFeedbacks(params) {
  return request(`/nsApi/wageProb/submitTabPayProb`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// end --ylq
